package org.erp.procurement.convert;

import org.erp.procurement.entity.PcOrder;
import org.erp.procurement.entity.bo.PcOrderQueryBo;
import org.erp.procurement.entity.dto.PcOrderQueryDto;
import org.erp.procurement.entity.vo.PcOrderVo;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;

/**
 * 线下后台管理订单实体转换
 *
 * @author libin
 * @version 1.0
 * @description: 线下后台管理订单实体转换
 * @date 2025/11/5 16:52
 **/
@Mapper(componentModel = "spring")
public interface PcOrderConvert {

    @Mappings(value = {})
    PcOrderQueryDto boConvertDto(PcOrderQueryBo pcOrderBo);

    @Mappings(value = {})
    PcOrderVo convertVo(PcOrder pcOrder);
}
